
export type GenGroup = {
	id?:Common.IdType,
	name?:string,
	remark?:string,
	items:GenGroupItem[]
	extra?:Record<string,string>
}

export type GenGroupItem = {
	id?:Common.IdType,
	name:string,
	path:string,
	remark?:string,
	groupId?:Common.IdType,
	code?:string
	language:string,
}

export type ExtraItem = {
	key:string,
	value:string
}

export const buildItem = ():GenGroupItem=>{
	return { name: "demo", path: "/",language:"Java" } ;
}


export const buildGroup = ():GenGroup=>{
	return { items:[buildItem()]};
}
